wayland: calculate screen physical size
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 14 Aug 2015 10:05:37 +0000 (12:05 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 16 Aug 2015 02:11:10 +0000 (22:11 -0400)
commit02f3fe0671fe7b4f4068716773db01be7d4482e5
tree0839fefd31080014551d4d84dd61f1e9b21ecc32
parent84bd32a09a25bee24ae7740e30bd75727695d744
wayland: calculate screen physical size

A simple calculation is done so far (assuming monitor areas never overlap)
so gdk_screen_get_width/height_mm return meaningful values.

https://bugzilla.gnome.org/show_bug.cgi?id=753621
gdk/wayland/gdkscreen-wayland.c